package com.zrentech.order.data.busibean;

import java.util.List;

/**
 * 
 * 提供关于订单的基本信息和功能
 * 
 * @author Leon
 */

public class OrderBean {

	private int id;
	private String orderTime; // 下单时间
	private int userID; // 下单用户
	private int tableID; // 桌号
	private int personNum; // 人数
	private int isPay; // 是否结算.例如，0:未结算; 1:已结算
	private String remark; // 备注

	private List<OrderDetailBean> orderDetails;

	public OrderBean() {

	}

	public OrderBean(int id, String orderTime, int userID, int tableID,
			int personNum, int isPay, String remark) {
		super();
		this.id = id;
		this.orderTime = orderTime;
		this.userID = userID;
		this.tableID = tableID;
		this.personNum = personNum;
		this.isPay = isPay;
		this.remark = remark;
	}

	public List<OrderDetailBean> getOrderDetails() {
		return orderDetails;
	}

	public void setOrderDetails(List<OrderDetailBean> orderDetails) {
		this.orderDetails = orderDetails;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public int getTableID() {
		return tableID;
	}

	public void setTableID(int tableID) {
		this.tableID = tableID;
	}

	public int getPersonNum() {
		return personNum;
	}

	public void setPersonNum(int personNum) {
		this.personNum = personNum;
	}

	public int getIsPay() {
		return isPay;
	}

	public void setIsPay(int isPay) {
		this.isPay = isPay;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
